package com.rain.shoppingscienceproj.module;

import java.util.ArrayList;
import java.util.List;

/**
 * *****************************************
 *
 * @CLASS: GoodsDto
 * @DESCRIPTION:
 * @AUTHOR: 韩玉龙
 * @VERSION: v1.0
 * @Date: 2018/12/6 15:32
 * *****************************************
 */
public class GoodsDto {
    private Goods goods;

    private Comment context;

    private Integer contextNum;

    private String shopId;

    private String shopName;

    private String shopImage;

    private String shopTitle;

    private List<String> images;

    private String wxChat ;

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public Comment getContext() {
        return context;
    }

    public void setContext(Comment context) {
        this.context = context;
    }

    public Integer getContextNum() {
        return contextNum;
    }

    public void setContextNum(Integer contextNum) {
        this.contextNum = contextNum;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopImage() {
        return shopImage;
    }

    public void setShopImage(String shopImage) {
        this.shopImage = shopImage;
    }

    public String getShopTitle() {
        return shopTitle;
    }

    public void setShopTitle(String shopTitle) {
        this.shopTitle = shopTitle;
    }

    public List<String> getImages() {
        if (images == null) {
            return new ArrayList<>();
        }
        return images;
    }

    public void setImages(List<String> images) {
        this.images = images;
    }

    public String getWxChat() {
        return null == wxChat ? "" : wxChat;
    }

    public void setWxChat(String wxChat) {
        this.wxChat = wxChat;
    }
}
